<?php

LoadPermission();

function LoadPermission()
{
	global $dbsql,$permissions;
	$permissions=array();

	$sql_select = "select * from tblpermission order by iId";
	$rs=$dbsql->query($sql_select);
	while($result = $dbsql->fetch_array($rs))
	{
		$permissions[]=$result;
	}
	return $permissions;
}
?>